package com.ruoyi.weixincp.service;

import com.ruoyi.common.core.domain.AjaxResult;
import me.chanjar.weixin.common.error.WxErrorException;
import me.chanjar.weixin.cp.bean.WxCpDepart;
import me.chanjar.weixin.cp.bean.WxCpUser;

import java.text.ParseException;
import java.util.List;

public interface IWeiXinCpService {
    public WxCpUser getCpUserInfoById( String userId ) throws WxErrorException;
    public List<WxCpUser> getCpUserInfoList( ) throws WxErrorException;
    public List<WxCpDepart> getCpDeptList( ) throws WxErrorException;
    public String getToken( ) throws WxErrorException;
    public AjaxResult sendApplicationMessage( String sendUrl, String fillTime, String sendUserName ) throws WxErrorException, ParseException;

}
